home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cat3
/
Xm
/
Constraint.z
/
Constraint
Wrap
Text File
|
1998-10-30
|
7KB
|
133 lines
CCCCoooonnnnssssttttrrrraaaaiiiinnnntttt((((lllliiiibbbbrrrraaaarrrryyyy ccccaaaallllllll)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV CCCCoooonnnnssssttttrrrraaaaiiiinnnntttt((((lllliiiibbbbrrrraaaarrrryyyy ccccaaaallllllll))))
NNNNAAAAMMMMEEEE
CCCCoooonnnnssssttttrrrraaaaiiiinnnntttt - The Constraint widget class
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
#include <Xm/Xm.h>
VVVVEEEERRRRSSSSIIIIOOOONNNN
This page documents Motif 2.1.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
Constraint widgets maintain additional state data for each
child. For example, client-defined constraints on the
child's geometry may be specified.
When a constrained composite widget defines constraint
resources, all of that widget's children inherit all of
those resources as their own. These constraint resources are
set and read just the same as any other resources defined
for the child. This resource inheritance extends exactly one
generation down, which means only the first-generation
children of a constrained composite widget inherit the
parent widget's constraint resources.
Because constraint resources are defined by the parent
widgets and not the children, the child widgets never
directly use the constraint resource data. Instead, the
parents use constraint resource data to attach child-
specific data to children.
CCCCllllaaaasssssssseeeessss
Constraint inherits behavior and resources from CCCCoooommmmppppoooossssiiiitttteeeeand
CCCCoooorrrreeee.
The class pointer is _c_o_n_s_t_r_a_i_n_t_W_i_d_g_e_t_C_l_a_s_s.
The class name is CCCCoooonnnnssssttttrrrraaaaiiiinnnntttt.
NNNNeeeewwww RRRReeeessssoooouuuurrrrcccceeeessss
Constraint defines no new resources.
IIIInnnnhhhheeeerrrriiiitttteeeedddd RRRReeeessssoooouuuurrrrcccceeeessss
Constraint inherits behavior and resources from CCCCoooommmmppppoooossssiiiitttteeee
and CCCCoooorrrreeee. The following table defines a set of widget
resources used by the programmer to specify data. The
programmer can also set the resource values for the
inherited classes to set attributes for this widget. To
reference a resource by name or by class in a ....XXXXddddeeeeffffaaaauuuullllttttssss
file, remove the XXXXmmmmNNNN or XXXXmmmmCCCC prefix and use the remaining
letters. To specify one of the defined values for a resource
in a ....XXXXddddeeeeffffaaaauuuullllttttssss file, remove the XXXXmmmm prefix and use the
remaining letters (in either lowercase or uppercase, but
include any underscores between words). The codes in the
Page 1 (printed 10/24/98)
CCCCoooonnnnssssttttrrrraaaaiiiinnnntttt((((lllliiiibbbbrrrraaaarrrryyyy ccccaaaallllllll)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV CCCCoooonnnnssssttttrrrraaaaiiiinnnntttt((((lllliiiibbbbrrrraaaarrrryyyy ccccaaaallllllll))))
access column indicate if the given resource can be set at
creation time (C), set by using XXXXttttSSSSeeeettttVVVVaaaalllluuuueeeessss (S), retrieved
by using XXXXttttGGGGeeeettttVVVVaaaalllluuuueeeessss (G), or is not applicable (N/A).
CCCCoooorrrreeee RRRReeeessssoooouuuurrrrcccceeee SSSSeeeetttt
NNNNaaaammmmeeee CCCCllllaaaassssssss TTTTyyyyppppeeee DDDDeeeeffffaaaauuuulllltttt AAAAcccccccceeeessssssss
XmNaccelerators XmCAccelerators XtAccelerators dynamic CSG
XmNancestorSensitive XmCSensitive Boolean dynamic G
XmNbackground XmCBackground Pixel dynamic CSG
XmNbackgroundPixmap XmCPixmap Pixmap XmUNSPECIFIED_PIXMAP CSG
XmNborderColor XmCBorderColor Pixel XtDefaultForeground CSG
XmNborderPixmap XmCPixmap Pixmap XmUNSPECIFIED_PIXMAP CSG
XmNborderWidth XmCBorderWidth Dimension 1 CSG
XmNcolormap XmCColormap Colormap dynamic CG
XmNdepth XmCDepth int dynamic CG
XmNdestroyCallback XmCCallback XtCallbackList NULL C
XmNheight XmCHeight Dimension dynamic CSG
XmNinitialResourcesPersistent XmCInitialResourcesPersistent Boolean True C
XmNmappedWhenManaged XmCMappedWhenManaged Boolean True CSG
XmNscreen XmCScreen Screen * dynamic CG
XmNsensitive XmCSensitive Boolean True CSG
XmNtranslations XmCTranslations XtTranslations dynamic CSG
XmNwidth XmCWidth Dimension dynamic CSG
XmNx XmCPosition Position 0 CSG
XmNy XmCPosition Position 0 CSG
TTTTrrrraaaannnnssssllllaaaattttiiiioooonnnnssss
There are no translations for Constraint.
RRRREEEELLLLAAAATTTTEEEEDDDD
CCCCoooommmmppppoooossssiiiitttteeee(3) and CCCCoooorrrreeee(3).
Page 2 (printed 10/24/98)